﻿using NLog;
using NLog.Config;
using NLog.Layouts;
using NLog.Targets;
using NLog.Web;
using System.IO;

namespace DynamicQuartz.Common
{
    public class LogHelper
    {
        static LogHelper()
        {
         

        }
        public static void Info(string msg ,string path = "System")
        {
           var _logger = LogManager.GetLogger(path);
            _logger.Info(msg);
        }

        public static void Error(string msg, string path = "System")
        {
            var _logger = LogManager.GetLogger(path);
            _logger.Error(msg);
        }
    }
}
